<template>
	<view>
		<view class="test"></view>
		<view class="test">
			<view class="test2"></view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.test{
		width: 100%;
		height: 200rpx;
		background-color: #000000;
		position:relative;
	}
	.test2{
		position: absolute;
		height: 40rpx;
		width: 40rpx;
		
		top: 0;
		right: 0;
		background-color: #18BC37;
	}
</style>
